package cn.wolfcode.wolf2w.domain;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.web.bind.annotation.GetMapping;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Document("spot_detail")
public class SpotDetail {

    //名字
    private String name;
    //图片路径
    private String pictureUrl;
    //摘要
    private String summary;
    //电话
    private String phone;
    //访问网址
    private String visitUrl;
    //参考时间
    private String examTime;
    //交通
    private String traffic;
    //门票价格
    private String ticketsPrice;
    //开发时间
    private String openingHours;
    //景点外键
    private String spotId;

}
